package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excels;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 电话号码信息对象 sys_phone
 * 
 * @author ruoyi
 * @date 2022-03-09
 */
public class SysPhone extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID

 */
    @Excels({
            @Excel(name = "部门名称", targetAttr = "userName", type = Excel.Type.EXPORT),
    })
    private SysUser user;

    public SysUser getUser() {
        return user;
    }

    private SysUser user1;

    public SysUser getUser1() {
        return user1;
    }

    private Long phoneId;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phoneNumber;

    /** 使用人 */
    @Excel(name = "使用人")
    private Long phoneuserId;

    /** 运营商 */
    @Excel(name = "运营商")
    private Long operator;

    /** 套餐 */
    @Excel(name = "套餐")
    private String phonepackage;

    public String getSecondarycardNumber() {
        return secondarycardNumber;
    }

    /** 副卡卡号 */
    @Excel(name = "副卡卡号")
    private String secondarycardNumber;

    /** 领用人 */
    @Excel(name = "领用人")
    private Long responsibleperson;

    /** 假删除 */
    private Long delFlag;

    public void setPhoneId(Long phoneId) 
    {
        this.phoneId = phoneId;
    }

    public Long getPhoneId() 
    {
        return phoneId;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setPhoneuserId(Long phoneuserId) 
    {
        this.phoneuserId = phoneuserId;
    }

    public Long getPhoneuserId() 
    {
        return phoneuserId;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setPhonepackage(String phonepackage) 
    {
        this.phonepackage = phonepackage;
    }

    public String getPhonepackage() 
    {
        return phonepackage;
    }
    public void setSecondarycardNumber(String secondarycardNumber)
    {
        this.secondarycardNumber = secondarycardNumber;
    }



    public Long getResponsibleperson()
    {
        return responsibleperson;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("phoneId", getPhoneId())
            .append("phoneNumber", getPhoneNumber())
            .append("phoneuserId", getPhoneuserId())
            .append("operator", getOperator())
            .append("phonepackage", getPhonepackage())
            .append("secondarycardNumber", getSecondarycardNumber())
            .append("responsibleperson", getResponsibleperson())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
                .append("user", getUser())
                .append("user1", getUser1())
            .toString();
    }
}
